home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
F1 Licenseware
/
F1 Licenseware - Volume 1.iso
/
disks
/
003.dms
/
003.adf
/
EXAMPLE_PROGRAMS
/
example13_2.AMOS
/
example13_2.amosSourceCode
Wrap
AMOS Source Code
|
1993-02-25
|
849b
|
36 lines
Rem EXAMPLE13_2.Amos
'
'
Rem Open screen 0
Screen Open 0,228,80,4,Lowres : Curs Off : Paper 2 : Pen 3 : Cls 2
'
'
Rem Open another screen, I.D of 1
Screen Open 1,150,100,8,Lowres
'
'
Rem the 0 is the screen to be postioned
Rem The 190 is the x coordinate, using hardware coordinates
Rem 112 is the left edge of the screen
Rem 85 is the y postion 0-312
RemThe two commas mean use width and height from the selected screen
Screen Display 0,190,85,,
'
'
Rem now set up screen 1s postion
Screen Display 1,130,200,,
'
'
Rem set the current screen to be 0 so we can print to it
Screen 0
Locate 0,3 : Print " POSITIONING SCREENS USING SCREEN DISPLAY"
Rem This command returns everthing to Amos's system defaults including screens.
'
'
Rem setscreen to 1 to print to it
Screen 1
Print "This is screen 1 press a key"
'
'
Wait Key
Default